﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using OgilvyOne.Model;

namespace OgilvyOne.IDAL
{
    public interface ICmsArticleImgs
    {
        int Add(CmsArticleImgModel model);
        bool Update(CmsArticleImgModel model);
        CmsArticleImgModel GetImgModel(int tid);
        IList GetImgsList(CmsArticleImgModel q);
        
        bool Delete(int tid);

        bool ModOrderNum(int id, int ordernum);
        int GetOrderImgsId(int aid, int ordernum, int next);
        int MaxOrder(int aid);
    }
}
